gtk4.git
6 years agoMerge branch 'wip/hadess/fix-remote-filechooser-main' into 'master'
Bastien Nocera [Fri, 13 Mar 2020 12:36:10 +0000 (12:36 +0000)]
Merge branch 'wip/hadess/fix-remote-filechooser-main' into 'master'

Fix crasher/warnings when browsing remote filesystems

Closes #2482

See merge request GNOME/gtk!1490

6 years agoMerge branch 'align-docs-fixes' into 'master'
Timm Bäder [Fri, 13 Mar 2020 06:17:46 +0000 (06:17 +0000)]
Merge branch 'align-docs-fixes' into 'master'

gtk: Tweak GTK_ALIGN_BASELINE docs

See merge request GNOME/gtk!1518

6 years agogtk: Tweak GTK_ALIGN_BASELINE docs
Matthew Leeds [Thu, 12 Mar 2020 19:36:09 +0000 (12:36 -0700)]
gtk: Tweak GTK_ALIGN_BASELINE docs

6 years agoMerge branch 'migration-can-target-docs' into 'master'
Emmanuele Bassi [Thu, 12 Mar 2020 19:25:58 +0000 (19:25 +0000)]
Merge branch 'migration-can-target-docs' into 'master'

Docs: Refer to GtkWidget::can_target in migration guide

See merge request GNOME/gtk!1517

6 years agoDocs: Refer to GtkWidget::can_target in migration guide
Jason Francis [Thu, 12 Mar 2020 18:10:38 +0000 (14:10 -0400)]
Docs: Refer to GtkWidget::can_target in migration guide

This makes the docs consistent with the renaming changes in commit
ef982b7d46125f206b59ae4222d26947bda86246.

6 years agoMerge branch 'vfl-error' into 'master'
Matthias Clasen [Wed, 11 Mar 2020 15:56:46 +0000 (15:56 +0000)]
Merge branch 'vfl-error' into 'master'

Fix message for VFL parser errors

See merge request GNOME/gtk!1514

6 years agoFix message for VFL parser errors
Emmanuele Bassi [Wed, 11 Mar 2020 15:14:17 +0000 (15:14 +0000)]
Fix message for VFL parser errors

The loop is iterating over the wrong variable, and it's reimplementing
g_strfill() in a less efficient way.

6 years agoMerge branch 'wip/ricotz/annotations' into 'master'
Benjamin Otte [Mon, 9 Mar 2020 20:47:29 +0000 (20:47 +0000)]
Merge branch 'wip/ricotz/annotations' into 'master'

Really fix annotation for GtkDropTarget.get_gtypes()

See merge request GNOME/gtk!1510

6 years agoFix annotation for GdkContentFormats.get_gtypes()
Rico Tzschichholz [Mon, 9 Mar 2020 16:34:00 +0000 (17:34 +0100)]
Fix annotation for GdkContentFormats.get_gtypes()

6 years agoReally fix annotation for GtkDropTarget.get_gtypes()
Rico Tzschichholz [Mon, 9 Mar 2020 16:00:04 +0000 (17:00 +0100)]
Really fix annotation for GtkDropTarget.get_gtypes()

6 years agoUpdate Japanese translation
sicklylife [Mon, 9 Mar 2020 12:49:58 +0000 (12:49 +0000)]
Update Japanese translation

6 years agoUpdate Japanese translation
sicklylife [Mon, 9 Mar 2020 12:36:08 +0000 (12:36 +0000)]
Update Japanese translation

6 years agoMerge branch 'master' into 'master'
Matthias Clasen [Fri, 6 Mar 2020 18:02:06 +0000 (18:02 +0000)]
Merge branch 'master' into 'master'

builder-tool: rename show-close-button to show-title-buttons

See merge request GNOME/gtk!1497

6 years agoMerge branch 'wip/tbaederr/fallthrough' into 'master'
Alexander Larsson [Fri, 6 Mar 2020 10:48:16 +0000 (10:48 +0000)]
Merge branch 'wip/tbaederr/fallthrough' into 'master'

Replace fallthrough comments with G_GNUC_FALLTHROUGH

See merge request GNOME/gtk!1505

6 years agoReplace fallthrough comments with G_GNUC_FALLTHROUGH
Timm Bäder [Fri, 6 Mar 2020 07:32:21 +0000 (08:32 +0100)]
Replace fallthrough comments with G_GNUC_FALLTHROUGH

6 years agoMerge branch 'wip/otte/for-master' into 'master'
Benjamin Otte [Fri, 6 Mar 2020 05:48:56 +0000 (05:48 +0000)]
Merge branch 'wip/otte/for-master' into 'master'

Wip/otte/for master

See merge request GNOME/gtk!1504

6 years agostack: Make static analyzer happy
Benjamin Otte [Fri, 6 Mar 2020 04:56:29 +0000 (05:56 +0100)]
stack: Make static analyzer happy

6 years agopathbar: Don't do the same thing twice.
Benjamin Otte [Fri, 6 Mar 2020 04:53:20 +0000 (05:53 +0100)]
pathbar: Don't do the same thing twice.

Don't do the same thing twice.

6 years agoreftest: Plug memleak
Benjamin Otte [Fri, 6 Mar 2020 04:52:44 +0000 (05:52 +0100)]
reftest: Plug memleak

6 years agotreeview: Don't assign value twice.
Benjamin Otte [Fri, 6 Mar 2020 04:51:37 +0000 (05:51 +0100)]
treeview: Don't assign value twice.

6 years agocellarea: Be very clear
Benjamin Otte [Fri, 6 Mar 2020 04:50:35 +0000 (05:50 +0100)]
cellarea: Be very clear

The static analyzer needs to know we absolutely DO NOT want to use this
return value.

6 years agobuilder-tool: Don't allow property to be both resize and shrink
Benjamin Otte [Fri, 6 Mar 2020 04:29:46 +0000 (05:29 +0100)]
builder-tool: Don't allow property to be both resize and shrink

Otherwise builder-tool crashes when you do

  <property name="shrink" name="resize">1</property>

Thanks to the static analyzer for figuring that one out.

6 years agoapplicationaccels: Use g_renew()
Benjamin Otte [Fri, 6 Mar 2020 04:06:25 +0000 (05:06 +0100)]
applicationaccels: Use g_renew()

6 years agoliststore: Fix gtk_list_store_iter_is_valid()
Benjamin Otte [Fri, 6 Mar 2020 04:03:45 +0000 (05:03 +0100)]
liststore: Fix gtk_list_store_iter_is_valid()

The iter may be invalid, so we may not read from it.

testsuite/gtk/treemodel tests this and valgrind is shouting about it,
but it never crashed until I just ran it...

This bug is from 2004 and the test is from 2007. I guess invalid memory
accesses don't get caught by CI much.

6 years agotesttreeview: Fix 19 year old use-after-free
Benjamin Otte [Fri, 6 Mar 2020 04:01:01 +0000 (05:01 +0100)]
testtreeview: Fix 19 year old use-after-free

6 years agotreepath: Use g_renew()
Benjamin Otte [Fri, 6 Mar 2020 03:31:30 +0000 (04:31 +0100)]
treepath: Use g_renew()

6 years agotestsuite: Avoid passing NULL to strcmp()
Benjamin Otte [Fri, 6 Mar 2020 03:31:08 +0000 (04:31 +0100)]
testsuite: Avoid passing NULL to strcmp()

Use g_strcmp0() instead.

6 years agotreeview: Don't initialize variable twice
Benjamin Otte [Fri, 6 Mar 2020 03:24:30 +0000 (04:24 +0100)]
treeview: Don't initialize variable twice

6 years agoMerge branch 'wip/otte/for-master' into 'master'
Benjamin Otte [Thu, 5 Mar 2020 18:20:36 +0000 (18:20 +0000)]
Merge branch 'wip/otte/for-master' into 'master'

Wip/otte/for master

See merge request GNOME/gtk!1502

6 years agobuild: Add -Wnull-dereference
Benjamin Otte [Thu, 5 Mar 2020 06:02:24 +0000 (07:02 +0100)]
build: Add -Wnull-dereference

Sprinkle various g_assert() around the code where gcc cannot figure out
on its own that a variable is not NULL and too much refactoring would be
needed to make it do that.

Also fix usage of g_assert_nonnull(x) to use g_assert(x) because the
first is not marked as G_GNUC_NORETURN because of course GTester
supports not aborting on aborts.

6 years agoicontheme: Remove unused parameter
Benjamin Otte [Thu, 5 Mar 2020 06:56:01 +0000 (07:56 +0100)]
icontheme: Remove unused parameter

It's only ever set to NULL (and then dereferenced, too)

6 years agotreerbtree: Use for loops
Benjamin Otte [Thu, 5 Mar 2020 05:58:44 +0000 (06:58 +0100)]
treerbtree: Use for loops

Makes the code more readable.
Also does the NULL check for the initial element, which was misisng
before.

6 years agonotebook: Don't crash on drags not coming from a notebook
Benjamin Otte [Thu, 5 Mar 2020 05:58:12 +0000 (06:58 +0100)]
notebook: Don't crash on drags not coming from a notebook

6 years agoicontheme: Don't crash on icon lookup failure
Benjamin Otte [Thu, 5 Mar 2020 05:57:44 +0000 (06:57 +0100)]
icontheme: Don't crash on icon lookup failure

6 years agodevice: Handle missing axis
Benjamin Otte [Thu, 5 Mar 2020 05:57:26 +0000 (06:57 +0100)]
device: Handle missing axis

6 years agorbtree: Simplify macros
Benjamin Otte [Thu, 5 Mar 2020 05:53:26 +0000 (06:53 +0100)]
rbtree: Simplify macros

* NODE_FROM_POINTER() can not be NULL

* shuffle NODE_TO_POINTER() code for readability so that the NULL check
  is on the outside and not the cast

6 years agorbtree: Simplify code
Benjamin Otte [Thu, 5 Mar 2020 05:51:32 +0000 (06:51 +0100)]
rbtree: Simplify code

This makes it easier to understand for gcc (and hopefully humans, too)
that by rotating we essentially just swap `node` and `p`.

6 years agobuild: Add more useful warning flags
Benjamin Otte [Thu, 5 Mar 2020 02:58:29 +0000 (03:58 +0100)]
build: Add more useful warning flags

I found those on the interwebs and decided they are useful.

6 years agomountoperation-x11: Fix copy/paste thinko
Benjamin Otte [Thu, 5 Mar 2020 05:14:58 +0000 (06:14 +0100)]
mountoperation-x11: Fix copy/paste thinko

6 years agotests: Add a test for changing the hovered widget
Benjamin Otte [Wed, 4 Mar 2020 00:24:32 +0000 (01:24 +0100)]
tests: Add a test for changing the hovered widget

The add/remove one crashes after a few enter/leave events.

6 years agoimcontextwayland: Fix copy/paste error
Benjamin Otte [Thu, 5 Mar 2020 02:57:53 +0000 (03:57 +0100)]
imcontextwayland: Fix copy/paste error

6 years agotextview: Fix copy/paste error
Benjamin Otte [Thu, 5 Mar 2020 02:57:24 +0000 (03:57 +0100)]
textview: Fix copy/paste error

6 years agoMerge branch 'patch-1' into 'master'
Timm Bäder [Wed, 4 Mar 2020 11:01:30 +0000 (11:01 +0000)]
Merge branch 'patch-1' into 'master'

gdk_monitor_get_model: Fix a typo in the function documentation

See merge request GNOME/gtk!1499

6 years agogdk_monitor_get_model: Fix a typo in the function documentation
Antenore Gatta [Tue, 3 Mar 2020 09:51:48 +0000 (09:51 +0000)]
gdk_monitor_get_model: Fix a typo in the function documentation

6 years agoUpdate POTFILES.in
Piotr Drąg [Tue, 3 Mar 2020 16:10:36 +0000 (17:10 +0100)]
Update POTFILES.in

6 years agoMerge branch 'doc-fixes' into 'master'
Emmanuele Bassi [Tue, 3 Mar 2020 15:30:43 +0000 (15:30 +0000)]
Merge branch 'doc-fixes' into 'master'

Small documentation fixes

See merge request GNOME/gtk!1500

6 years agoFix annotation for GtkDropTarget.get_gtypes()
Emmanuele Bassi [Tue, 3 Mar 2020 13:17:31 +0000 (13:17 +0000)]
Fix annotation for GtkDropTarget.get_gtypes()

The argument name must match in the documentation, and the `allow-none`
annotation is deprecated, and should be replaced by `optional` in this
case.

6 years agoRemove incorrect rename-to annotations
Emmanuele Bassi [Tue, 3 Mar 2020 13:13:26 +0000 (13:13 +0000)]
Remove incorrect rename-to annotations

The `rename-to` annotation is used to "shadow" a symbol with another
one, which means both symbols need to exist. It can't be used to rename
a symbol to something else.

6 years agoFix introspection warnings for GtkDragIcon
Emmanuele Bassi [Tue, 3 Mar 2020 13:12:52 +0000 (13:12 +0000)]
Fix introspection warnings for GtkDragIcon

6 years agoAdd missing annotation for GtkIconTheme
Emmanuele Bassi [Mon, 2 Mar 2020 12:42:43 +0000 (12:42 +0000)]
Add missing annotation for GtkIconTheme

6 years agoUpdate Japanese translation
sicklylife [Tue, 3 Mar 2020 12:09:06 +0000 (12:09 +0000)]
Update Japanese translation

6 years agoUpdate Japanese translation
sicklylife [Tue, 3 Mar 2020 12:06:32 +0000 (12:06 +0000)]
Update Japanese translation

6 years agoMerge branch 'gbsneto/gtkeventcontrollerfocus' into 'master'
Matthias Clasen [Tue, 3 Mar 2020 08:40:43 +0000 (08:40 +0000)]
Merge branch 'gbsneto/gtkeventcontrollerfocus' into 'master'

build: Install gtkeventcontrollerfocus.h

See merge request GNOME/gtk!1498

6 years agobuild: Install gtkeventcontrollerfocus.h
Georges Basile Stavracas Neto [Tue, 3 Mar 2020 03:38:13 +0000 (00:38 -0300)]
build: Install gtkeventcontrollerfocus.h

It's a public class, and is included by gtk.h. Ship it.

6 years agobuilder-tool: rename show-close-button to show-title-buttons
Matt Guerrette [Tue, 3 Mar 2020 03:24:46 +0000 (22:24 -0500)]
builder-tool: rename show-close-button to show-title-buttons

For GtkHeaderBar show-close-button has been renamed to
show-title-buttons for GTK4. This commit adds this fixup to the builder
tool

6 years agoMerge branch 'wip/otte/for-master' into 'master'
Benjamin Otte [Mon, 2 Mar 2020 21:32:20 +0000 (21:32 +0000)]
Merge branch 'wip/otte/for-master' into 'master'

Wip/otte/for master

See merge request GNOME/gtk!1496

6 years agodroptarget: Fast-path local value load
Benjamin Otte [Mon, 2 Mar 2020 20:45:59 +0000 (21:45 +0100)]
droptarget: Fast-path local value load

This way, we can ensure that for local same-type drops the GValue
is set when ::enter is emitted.

This is the common case for dnd between widgets inside larger
applications, so it's worth it to speed it up.

6 years agodrop: Don't use g_object_get()
Benjamin Otte [Mon, 2 Mar 2020 20:45:42 +0000 (21:45 +0100)]
drop: Don't use g_object_get()

6 years agodnd: Fix some documentation gotchas
Benjamin Otte [Mon, 2 Mar 2020 20:26:08 +0000 (21:26 +0100)]
dnd: Fix some documentation gotchas

6 years agoMerge branch 'wip/otte/dnd' into 'master'
Benjamin Otte [Mon, 2 Mar 2020 18:09:05 +0000 (18:09 +0000)]
Merge branch 'wip/otte/dnd' into 'master'

DND: Sync drop target

See merge request GNOME/gtk!1495

6 years agodrop: Remove unused convenience APIs
Benjamin Otte [Mon, 2 Mar 2020 03:15:39 +0000 (04:15 +0100)]
drop: Remove unused convenience APIs

With the new event controllers, these are unused.

6 years agothemes: Set proper foreground color for DND icons
Benjamin Otte [Mon, 2 Mar 2020 03:10:31 +0000 (04:10 +0100)]
themes: Set proper foreground color for DND icons

6 years agocalendar: Use a drag source
Benjamin Otte [Mon, 2 Mar 2020 03:03:03 +0000 (04:03 +0100)]
calendar: Use a drag source

6 years agodnd: Don't create custom color drag icons
Benjamin Otte [Mon, 2 Mar 2020 02:46:59 +0000 (03:46 +0100)]
dnd: Don't create custom color drag icons

... use the default one. It looks much better.

6 years agodragicon: Add gtk_drag_icon_create_widget_for_value()
Benjamin Otte [Mon, 2 Mar 2020 02:11:14 +0000 (03:11 +0100)]
dragicon: Add gtk_drag_icon_create_widget_for_value()

... and use it to set a drag icon.

6 years agocontentformats: Constify some functions
Benjamin Otte [Mon, 2 Mar 2020 02:39:14 +0000 (03:39 +0100)]
contentformats: Constify some functions

6 years agodragicon: Change how to acquire drag icons
Benjamin Otte [Mon, 2 Mar 2020 01:55:38 +0000 (02:55 +0100)]
dragicon: Change how to acquire drag icons

Before, gtk_drag_icon_new_for_drag() allowed creating new drag icons.
This could cause multiple drag icons to exist for a single drag.

Now, gtk_drag_icon_get_for_drag() makes sure that only one drag icon is
created.

6 years agodragicon: Add GtkDragIcon::child
Benjamin Otte [Sun, 1 Mar 2020 21:28:39 +0000 (22:28 +0100)]
dragicon: Add GtkDragIcon::child

6 years agogdk: Make gdk_drop_status() take preferred action
Benjamin Otte [Sun, 1 Mar 2020 17:50:15 +0000 (18:50 +0100)]
gdk: Make gdk_drop_status() take preferred action

This allows textview/text dnd to properly display a MOVE icon when in
the widget the drag started from but a COPY icon otherwise.

6 years agocolorswatch: Switch to dragged color during dnd
Benjamin Otte [Sun, 1 Mar 2020 16:32:40 +0000 (17:32 +0100)]
colorswatch: Switch to dragged color during dnd

This is really simple to implement now, so do it.

6 years agogtk-demo: Add a simple peg solitaire DND demo
Benjamin Otte [Sun, 1 Mar 2020 07:45:15 +0000 (08:45 +0100)]
gtk-demo: Add a simple peg solitaire DND demo

6 years agodroptarget: Redo
Benjamin Otte [Sat, 29 Feb 2020 02:47:17 +0000 (03:47 +0100)]
droptarget: Redo

This is a huge reorganization of GtkDropTarget. I did not know how to
split this up, so it's unfortunately all one commit.

Highlights:

- Split GtkDropTarget into GtkDropTarget and GtkDropTargetAsync
  GtkDropTarget is the simple one that only works with GTypes and offers
  a synchronous interface.
  GtkDropTargetAsync retains the full old functionality and allows
  handling mime types.

- Drop events are handled differently
  Instead of picking a single drop target and sending all DND events to
  it, every event is sent to every drop target. The first one to handle
  the event gets to call gdk_drop_status(), further handlers do not
  interact with the GdkDrop.
  Of course, for the ultimate GDK_DROP_STARTING event, only the first
  one to accept the drop gets to handle it.
  This allows stacking DND event controllers that aren't necessarily
  interested in handling the event or that might decide later to drop
  it.

- Port all widgets to either of those
  Both have a somewhat changed API due to the new event handling.
  For the ones who should use the sync version, lots of cleanup was
  involved to operate on a sync API.

6 years agoplacessidebar: Don't use the GdkDrag
Benjamin Otte [Sun, 1 Mar 2020 01:56:09 +0000 (02:56 +0100)]
placessidebar: Don't use the GdkDrag

First, it should have been a GdkDrop, but even then, proper DND code
should not rely on internals.

It's only been used in an unused signal emission anyway.

6 years agonotebook: Make dnd page switching a drop controller
Benjamin Otte [Sat, 29 Feb 2020 05:29:27 +0000 (06:29 +0100)]
notebook: Make dnd page switching a drop controller

This untangles tab dnd from page switching.

6 years agotextview: Move drop scrolling to drop motion controller
Benjamin Otte [Sat, 29 Feb 2020 03:37:16 +0000 (04:37 +0100)]
textview: Move drop scrolling to drop motion controller

Don't confuse the drop target with it.

6 years agotreeview, iconview: Don't return the drop target
Benjamin Otte [Fri, 28 Feb 2020 03:19:36 +0000 (04:19 +0100)]
treeview, iconview: Don't return the drop target

Not a good idea to hand internal event controllers out to public API.

6 years agotestsuite: Use g_assert() in tests
Benjamin Otte [Tue, 25 Feb 2020 21:42:10 +0000 (22:42 +0100)]
testsuite: Use g_assert() in tests

6 years agoMerge branch 'piotrdrag/placessidebar-typos' into 'master'
Emmanuele Bassi [Sun, 1 Mar 2020 15:07:17 +0000 (15:07 +0000)]
Merge branch 'piotrdrag/placessidebar-typos' into 'master'

placessidebar: Fix a couple of typos and thinkos in menu labels

See merge request GNOME/gtk!1494

6 years agoplacessidebar: Fix a couple of typos and thinkos in menu labels
Piotr Drąg [Sun, 1 Mar 2020 14:05:28 +0000 (15:05 +0100)]
placessidebar: Fix a couple of typos and thinkos in menu labels

6 years agoMerge branch 'kill-grabs-2' into 'master'
Matthias Clasen [Sat, 29 Feb 2020 01:19:48 +0000 (01:19 +0000)]
Merge branch 'kill-grabs-2' into 'master'

Kill grabs

See merge request GNOME/gtk!1492

6 years agoDrop gtk_grab_add/remove from public api
Matthias Clasen [Fri, 28 Feb 2020 21:36:17 +0000 (16:36 -0500)]
Drop gtk_grab_add/remove from public api

The only form in which we still allow grabs to take place
is with modal toplevels.

6 years agoDrop gtk_grab_get_current
Matthias Clasen [Fri, 28 Feb 2020 21:29:56 +0000 (16:29 -0500)]
Drop gtk_grab_get_current

Another grab-related api that we are not using.

6 years agoDrop device grabs
Matthias Clasen [Fri, 28 Feb 2020 21:27:42 +0000 (16:27 -0500)]
Drop device grabs

We were not using this api at all, so lets drop it.

6 years agoMerge branch 'matthiasc/for-master' into 'master'
Matthias Clasen [Fri, 28 Feb 2020 20:35:11 +0000 (20:35 +0000)]
Merge branch 'matthiasc/for-master' into 'master'

inspector: Fix the "Software GL" switch

See merge request GNOME/gtk!1491

6 years agoinspector: Fix the "Software GL" switch
Matthias Clasen [Fri, 28 Feb 2020 19:42:19 +0000 (14:42 -0500)]
inspector: Fix the "Software GL" switch

This was crashing.

6 years agofilechooser: Fallback if content-type unavailable
Bastien Nocera [Fri, 28 Feb 2020 15:59:19 +0000 (16:59 +0100)]
filechooser: Fallback if content-type unavailable

Fallback to fast-content-type if the content-type attribute isn't
available, as is the case for most remote filesystems.

Closes: #2482
6 years agofilechooser: Fix crash when file has no content-type
Bastien Nocera [Fri, 28 Feb 2020 15:56:29 +0000 (16:56 +0100)]
filechooser: Fix crash when file has no content-type

This might happen for slow filesystems where a fast-content-type might
be provided instead. Don't try to manipulate that content_type if it's
NULL, otherwise we'll either throw warnings (at best) or crash (at
worse).

Conflicts:
gtk/gtkfilechooserwidget.c

6 years agoUpdate POTFILES.in and POTFILES.skip
Piotr Drąg [Thu, 27 Feb 2020 21:05:24 +0000 (22:05 +0100)]
Update POTFILES.in and POTFILES.skip

6 years agoMerge branch 'matthiasc/for-master' into 'master'
Matthias Clasen [Thu, 27 Feb 2020 20:29:04 +0000 (20:29 +0000)]
Merge branch 'matthiasc/for-master' into 'master'

Matthiasc/for master

See merge request GNOME/gtk!1488

6 years agoRemove a stray g_object_unref
Matthias Clasen [Thu, 27 Feb 2020 19:07:12 +0000 (14:07 -0500)]
Remove a stray g_object_unref

Events are no longer objects, so this does not do
any good. Use gdk_event_unref instead.

6 years agoAvoid a crash in css font features values
Matthias Clasen [Thu, 27 Feb 2020 12:47:37 +0000 (07:47 -0500)]
Avoid a crash in css font features values

6 years agoUpdate Dutch translation
Nathan Follens [Thu, 27 Feb 2020 11:05:23 +0000 (11:05 +0000)]
Update Dutch translation

6 years agoMerge branch 'patch-1' into 'master'
Timm Bäder [Thu, 27 Feb 2020 10:41:44 +0000 (10:41 +0000)]
Merge branch 'patch-1' into 'master'

Fix a typo in gtkplacessidebar.c

See merge request GNOME/gtk!1486

6 years agoFix a typo in gtkplacessidebar.c
Krzesimir Nowak [Thu, 27 Feb 2020 10:02:56 +0000 (10:02 +0000)]
Fix a typo in gtkplacessidebar.c

Some mistyped vim command got into the code in commit 60d2813247831adf9642f87ad2bf597280d2f31a.

6 years agoMerge branch 'matthiasc/for-master' into 'master'
Matthias Clasen [Thu, 27 Feb 2020 01:12:23 +0000 (01:12 +0000)]
Merge branch 'matthiasc/for-master' into 'master'

Fix a leftover occurrence of ::expand

See merge request GNOME/gtk!1485

6 years agoFix a leftover occurrence of ::expand
Matthias Clasen [Thu, 27 Feb 2020 00:31:25 +0000 (19:31 -0500)]
Fix a leftover occurrence of ::expand

6 years agoUpdate Persian translation
Danial Behzadi [Wed, 26 Feb 2020 23:23:04 +0000 (23:23 +0000)]
Update Persian translation

6 years agoMerge branch 'matthiasc/for-master' into 'master'
Matthias Clasen [Wed, 26 Feb 2020 22:34:45 +0000 (22:34 +0000)]
Merge branch 'matthiasc/for-master' into 'master'

gesture: Actually track targets

See merge request GNOME/gtk!1484

6 years agogesture: Actually track targets
Matthias Clasen [Wed, 26 Feb 2020 22:06:15 +0000 (17:06 -0500)]
gesture: Actually track targets

Due to a mismerge, this wasn't actually working,
and was causing criticals from gtk_widget_has_grab
when dragging windows.

6 years agobuilder-tool: Fix a thinko
Matthias Clasen [Wed, 26 Feb 2020 14:59:14 +0000 (09:59 -0500)]
builder-tool: Fix a thinko

We can't rely on the pspec for a removed property.
This code worked until I actually removed the properties.

Update the tests to reflect this.